-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add DaemonSet e2e test #143
Conversation
Signed-off-by: janice1457 <[email protected]>
Codecov Report
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. @@ Coverage Diff @@
## master #143 +/- ##
=======================================
Coverage 44.61% 44.61%
=======================================
Files 48 48
Lines 5045 5045
=======================================
Hits 2251 2251
Misses 2422 2422
Partials 372 372
Flags with carried forward coverage won't be shown. Click here to find out more. 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Signed-off-by: janice1457 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: furykerry The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Ⅰ. Description
Add DaemonSet e2e tests including 3 cases:
Normal rollout update:
"DaemonSet V1->V2: 1,100% Succeeded"
v1 -> v2(interrupt) -> v3
"V1->V2: Percentage, 1, 2 and continuous release v3"
delete rollout during the process
"V1->V2: 1,100%, but delete rollout crd"
Ⅱ. Test Process
Set up basic environment according to this md:
https://github.com/openkruise/rollouts/blob/master/docs/contributing/debug.md
run kubectl apply -f rollout_canary_daemonset_base.yaml, and rollout_canary_daemonset_base.yaml is under the path:
test/e2e/test_data/rollout/rollout_canary_daemonset_base.yaml
run kubectl apply -f rollout_canary_daemonset_interrupt.yaml, and rollout_canary_daemonset_interrupt.yaml is under the path:
test/e2e/test_data/rollout/rollout_canary_daemonset_interrupt.yaml
run ginkgo -timeout 60m -v --focus="DaemonSet canary rollout" test/e2e under rollouts package.
Ⅲ. Test Result
All three cases passed
1)
2)
3)